package cn.yj.relay.core.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author 永健
 * @since 2020-03-03 17:41
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value ="tb_task")
public class Task extends BaseEntity<Task>
{
    private static final long serialVersionUID = 1L;


    private String  empName;

    private String empPhone;

    private String title;

    @NotBlank(message = "请填写业务内容")
    private String content;

    @NotNull(message = "请填写业提成绩点")
    private Double royaltyPoint;

    @NotNull(message = "请输入业务盈利")
    private Double allMoney;

    @NotNull(message = "请选择员工")
    private Integer empId;


    private String remark;


    private Double royaltyMoney;

    @NotNull(message = "填写流水号")
    private Double outNum;


}